<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
request.setCharacterEncoding("utf-8");
DBO db=new DBO();
String   yhm="",mm="",xm="",zy="",xb="",nl="";
String keyid=(String)request.getParameter("keyid");
String sql="select * from jiaoshi where jsid="+keyid;
ResultSet rs=null;
db.open();
rs=db.query(sql);

/*
教师信息查看页面
*/
if(rs.next()){
 yhm=rs.getString("yhm");//变量赋值：用户名
mm=rs.getString("mm");//变量赋值：密码
xm=rs.getString("xm");//变量赋值：姓名
zy=rs.getString("zy");//变量赋值：专业
xb=rs.getString("xb");//变量赋值：性别
nl=rs.getString("nl");//变量赋值：年龄

}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<link rel="stylesheet" type="text/css" media="screen" href="../css/tinyTips.css" />

</head>
<body>
<form name="form" action="" method="post" >
<div class=formzone>
<DIV class=searchzone>

<TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD height=30>教师详细信息</TD>
    <TD align=right colSpan=2>&nbsp;</TD>
  </TR></TBODY></TABLE></DIV>
<div class=tablezone>
<div class=noticediv id=notice></div>
<TABLE cellSpacing=0 cellPadding=2 width="100%" align=center border=0>
  <TBODY>

		<tr >
<td align=middle width=100 height=30>用户名</td><td height=30><%=yhm%></td>
 
</tr>
<tr >
<td align=middle width=100 height=30>密码</td><td height=30><%=mm%></td>
 
</tr>
<tr >
<td align=middle width=100 height=30>姓名</td><td height=30><%=xm%></td>
 
</tr>
<tr >
<td align=middle width=100 height=30>专业</td><td height=30><%=zy%></td>
 
</tr>
<tr >
<td align=middle width=100 height=30>性别</td><td height=30><%=xb%></td>
 
</tr>
<tr >
<td align=middle width=100 height=30>年龄</td><td height=30><%=nl%></td>
 
</tr>

</TBODY></TABLE>
</div>
<DIV class=adminsubmit> 
                      &nbsp;&nbsp;
              <INPUT class="button" type="button" value="返回" onClick="history.go(-1)"/> 
</div>
</div>
</form>


</body>
</html>
